package com.ruoyi.data.domain;

import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;

/**
 * 消费记录对象 data_money
 *
 * @author zzp
 * @date 2022-10-21
 */
public class DataMoney extends BaseEntity {
    private static final long serialVersionUID = 1L;

    /**
     * 主键
     */
    private Long id;

    /**
     * 部门ID
     */
    @Excel(name = "部门ID")
    private Long deptId;

    /**
     * 用户ID
     */
    @Excel(name = "用户ID")
    private Long userId;

    /**
     * 用户姓名
     */
    @Excel(name = "用户姓名")
    private String nickName;

    /**
     * 金额
     */
    @Excel(name = "金额")
    private Integer money;

    /**
     * 当前金额
     */
    @Excel(name = "当前金额")
    private Integer moneyCurrent;

    /**
     * 金额类型
     */
    @Excel(name = "金额类型")
    private String moneyType;

    /**
     * 金额描述
     */
    @Excel(name = "金额描述")
    private String moneyDesc;

    public void setId(Long id) {
        this.id = id;
    }

    public Long getId() {
        return id;
    }

    public void setDeptId(Long deptId) {
        this.deptId = deptId;
    }

    public Long getDeptId() {
        return deptId;
    }

    public void setUserId(Long userId) {
        this.userId = userId;
    }

    public Long getUserId() {
        return userId;
    }

    public void setNickName(String nickName) {
        this.nickName = nickName;
    }

    public String getNickName() {
        return nickName;
    }

    public void setMoney(Integer money) {
        this.money = money;
    }

    public Integer getMoney() {
        return money;
    }

    public void setMoneyCurrent(Integer moneyCurrent) {
        this.moneyCurrent = moneyCurrent;
    }

    public Integer getMoneyCurrent() {
        return moneyCurrent;
    }

    public void setMoneyType(String moneyType) {
        this.moneyType = moneyType;
    }

    public String getMoneyType() {
        return moneyType;
    }

    public void setMoneyDesc(String moneyDesc) {
        this.moneyDesc = moneyDesc;
    }

    public String getMoneyDesc() {
        return moneyDesc;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this, ToStringStyle.MULTI_LINE_STYLE)
                .append("id", getId())
                .append("deptId", getDeptId())
                .append("userId", getUserId())
                .append("nickName", getNickName())
                .append("money", getMoney())
                .append("moneyCurrent", getMoneyCurrent())
                .append("moneyType", getMoneyType())
                .append("moneyDesc", getMoneyDesc())
                .append("createBy", getCreateBy())
                .append("createTime", getCreateTime())
                .append("updateBy", getUpdateBy())
                .append("updateTime", getUpdateTime())
                .toString();
    }
}
